<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<link rel="shortcut icon" href="__IMG__/favicon.ico" />
	<link rel="bookmark" href="__IMG__/favicon.ico" type="image/x-icon" 　/>
	<title>幸运飞艇</title>
	<link rel="stylesheet" type="text/css" href="__CSS__/mui.min.css"/>
	<link rel="stylesheet" type="text/css" href="__CSS__/common.css"/>
	<link rel="stylesheet" type="text/css" href="__CSS__/index.css"/>
	<script src="__JS__/mui.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" charset="utf-8">
        mui.init();
        setTimeout(function(){
            var gallery = mui('.mui-slider');
            gallery.slider({
                interval:1800//自动轮播周期，若为0则不自动播放，默认为0；
            });
        },300)
	</script>
	<style type="text/css">
		.hall_box1 a{
			width: 100%;
			height: 100%;
		}
	</style>
</head>
<body>
<header class="mui-bar mui-bar-nav">
	<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	<h1 class="mui-title">幸运飞艇</h1>
	<a href="{:url('web/play_rule_web',array('cate'=>$cate))}" class="right  blue1 mg_top10">游戏说明</a>
</header>
<div class="mui-content bg_ff">
	<div id="slider" class="mui-slider">
		<div class="mui-slider-group mui-slider-loop">
			<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
			<div class="mui-slider-item mui-slider-item-duplicate">
				<a href="#">
					<img src="{$ads[3]['ad_url']}">
				</a>
			</div>
			{foreach $ads as $k=>$v }
			<div class="mui-slider-item">
				<a href="#">
					<img src="{$v['ad_url']}">
				</a>
			</div>
			{/foreach}
			<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
			<div class="mui-slider-item mui-slider-item-duplicate">
				<a href="#">
					<img src="{$ads[0]['ad_url']}">
				</a>
			</div>
		</div>
		<div class="mui-slider-indicator mui-text-center">
			<div class="mui-indicator mui-active"></div>
			<div class="mui-indicator"></div>
			<div class="mui-indicator"></div>
			<div class="mui-indicator"></div>
		</div>
	</div>
	<ul class="mui-table-view" id="user_box">
		<li class="mui-table-view-cell mui-media">
			<a href="javascript:;">
				<img class="mui-media-object mui-pull-left" src="__IMG__/img3.png">
				<div class="mui-media-body">
					幸运飞艇
					<p class="mui-ellipsis" style="width: 107%">
						<span><img src="__IMG__/icon_line.png" alt="" />当前在线：<i class="blue1">{$return_data['online_cate']}人</i></span>
						<span><img src="__IMG__/icon_linemore.png" alt="" />在线总人数：<i class="blue1">{$return_data['online_all']}人</i></span>
					</p>
				</div>
			</a>
		</li>
	</ul>
	<ul class="clearfix hall_box1">
		{foreach $return_data['data'] as $k=>$v}
		<li>
			<a href="{:url('game/airship_hall',array('hall'=>$v['hall']))}">
				<div class="hall_font">
					<h4>{$v['name']}</h4>
					<p class="color_ff">(限{$v['limit_man']}人)</p>
					<p class="color_ff">在线：{$v['online']}人</p>
				</div>
			</a>
		</li>
		{/foreach}
	</ul>
</div>
</body>
</html>
